package com.vcc.service.service;

import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.Rate;
import com.vcc.service.boss.request.rate.CreateRateDto;
import com.vcc.service.boss.request.rate.UpdateRateDto;

import java.util.List;

public interface RateService extends IService<Rate> {

    Rate getById(Long id);

    Boolean existsById(Long id);

    Rate createRate(CreateRateDto createRateDto);

    Boolean updateRate(UpdateRateDto updateRateDto);

    Rate getByIdForNull(Long id);

    List<Rate> listByScene(String scene);
}
